package com.bbcare.followup.plat.entity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: 内容模板实体类(fu_contenttempl_dict)
 * @author: DemonLee
 * @createTime: 2017.4.13
 * @description: 内容模板等
 * @modify:
 * 
 */

@Entity
public class ContentTempl implements Serializable {
    private static final long serialVersionUID = 1L;
    // 任务内容模板id
    private String id;
    // 任务内容模板名称
    private String templName;
    // 所属分组id
    private String contentGroupid;
    // 所属人id
    private String authorId;
    // 内容模板是否公开 0：个人私有 1：组织私有 2：公开
    private String isPublic;
    // 最新版本号
    private int newVersion;
    // 任务内容模板类型 0:门诊问卷 1:线上问卷 2:随访提醒 3:...
    private String templType;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 任务内容序列号，按升序排列
    private int seqNo;
    // 租户id
    private String tenantId;
    // 科室id
    private String deptId;
    // 是否有效标志，1有效，0失效
    private String status;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTemplName(String templName) {
        this.templName = templName;
    }

    public String getTemplName() {
        return templName;
    }

    public void setContentGroupid(String contentGroupid) {
        this.contentGroupid = contentGroupid;
    }

    public String getContentGroupid() {
        return contentGroupid;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setIsPublic(String isPublic) {
        this.isPublic = isPublic;
    }

    public String getIsPublic() {
        return isPublic;
    }

    public void setNewVersion(int newVersion) {
        this.newVersion = newVersion;
    }

    public int getNewVersion() {
        return newVersion;
    }

    public void setTemplType(String templType) {
        this.templType = templType;
    }

    public String getTemplType() {
        return templType;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public int getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(int seqNo) {
        this.seqNo = seqNo;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
